
<!DOCTYPE html>
<html>
<head>
	<title>栏目列表</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" href="__ADMIN__/bootstrap/css/bootstrap.min.css" media="all">
    <link rel="stylesheet" href="__ADMIN__/adminlte/css/AdminLTE.min.css">
    <link rel="stylesheet" href="__ADMIN__/adminlte/css/font-awesome.min.css">
</head>
<body>
    <div class="panel-body">
      <div class="row">
          <div>
            <div class="box-header with-border">
              <i style="cursor: pointer;" onclick="window.history.back(-1);" class="fa fa-mail-reply-all"></i>
              <h3 class="box-title"> {$columnContent.column_name}_<span>内容管理</span> </h3>
            </div>
            <!-- /.box-header -->
            <form class="form-horizontal" method="post" enctype="multipart/form-data" action="{:url('singlepage')}">
              <div class="box-body">
                    <input type="hidden" name="id" value="{$singleContent.id}">
                    <input type="hidden" name="column_id" value="{$columnContent.id}"   />
                    <div class="form-group">
                      <label class="col-sm-1 control-label">内容详情</label>
                      <div class="col-sm-11">
                        <textarea id="container" name="content"  >{$singleContent.content}</textarea>
                      </div>
                    </div>
                    <div class="form-group">
                      <label  class="col-sm-1 control-label"></label>
                      <div class="col-sm-2">
                        <button type="submit" class="btn btn-block btn-info">确认提交</button>
                      </div>
                    </div>
                
              </div>
            </form>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
    </div> 
</body>
    <script type="text/javascript" src="__ADMIN__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__ADMIN__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('container');
         ue.ready(function() {
         ue.setHeight(400);
        //设置编辑器的内容
         // ue.setContent('hello');
         // //获取html内容，返回: <p>hello</p>
         // var html = ue.getContent();
          // //获取纯文本内容，返回: hello
         // var txt = ue.getContentTxt();
    });
    </script>
</html>